package net.wanho.mapper;

import com.aliyuncs.ram.model.v20150501.CreateRoleResponse;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.wanho.po.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Administrator
* @description 针对表【role(角色表)】的数据库操作Mapper
* @createDate 2025-04-28 11:41:58
* @Entity net.wanho.po.Role
*/
public interface RoleMapper extends BaseMapper<Role> {

    Role selectByName(String username);

    List<Role> findByUserID(Integer id);

    Page<Role> selectByPage(Page<Role> page,@Param("ew") QueryWrapper<Role> queryWrapper);
}




